package com.eshop.modules.mp.service.dto;

import java.util.List;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.io.Serializable;

public class WechatLiveDto implements Serializable
{
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("直播间id")
    private Long roomId;
    private Long id;
    @ApiModelProperty("直播间标题")
    private String name;
    @ApiModelProperty("背景图")
    private String coverImge;
    @ApiModelProperty("分享图片")
    private String shareImge;
    @ApiModelProperty("直播间状态  101：直播中，102：未开始，103 已结束，104 禁播，105：暂停，106：异常，107：已过期")
    private Integer liveStatus;
    @ApiModelProperty("开始时间")
    private Long startTime;
    @ApiModelProperty("预计结束时间")
    private Long endTime;
    @ApiModelProperty("主播昵称")
    private String anchorName;
    @ApiModelProperty("主播微信号")
    private String anchorWechat;
    @ApiModelProperty("主播头像")
    private String anchorImge;
    @ApiModelProperty("直播间类型 1：推流 0：手机直播")
    private Integer type;
    @ApiModelProperty("横屏、竖屏 【1：横屏，0：竖屏】")
    private Integer screenType;
    @ApiModelProperty("是否关闭点赞 【0：开启，1：关闭】")
    private Integer closeLike;
    @ApiModelProperty("是否关闭评论 【0：开启，1：关闭】")
    private Integer closeComment;
    @ApiModelProperty("是否关闭货架 【0：开启，1：关闭】")
    private Integer closeGoods;
    private Integer closeReplay;
    private Integer closeShare;
    private Integer closeKf;
    private String productId;
    @ApiModelProperty("商品信息")
    private List<WechatLiveGoodsDto> product;
    
    public Long getRoomId() {
        return this.roomId;
    }
    
    public Long getId() {
        return this.id;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getCoverImge() {
        return this.coverImge;
    }
    
    public String getShareImge() {
        return this.shareImge;
    }
    
    public Integer getLiveStatus() {
        return this.liveStatus;
    }
    
    public Long getStartTime() {
        return this.startTime;
    }
    
    public Long getEndTime() {
        return this.endTime;
    }
    
    public String getAnchorName() {
        return this.anchorName;
    }
    
    public String getAnchorWechat() {
        return this.anchorWechat;
    }
    
    public String getAnchorImge() {
        return this.anchorImge;
    }
    
    public Integer getType() {
        return this.type;
    }
    
    public Integer getScreenType() {
        return this.screenType;
    }
    
    public Integer getCloseLike() {
        return this.closeLike;
    }
    
    public Integer getCloseComment() {
        return this.closeComment;
    }
    
    public Integer getCloseGoods() {
        return this.closeGoods;
    }
    
    public Integer getCloseReplay() {
        return this.closeReplay;
    }
    
    public Integer getCloseShare() {
        return this.closeShare;
    }
    
    public Integer getCloseKf() {
        return this.closeKf;
    }
    
    public String getProductId() {
        return this.productId;
    }
    
    public List<WechatLiveGoodsDto> getProduct() {
        return this.product;
    }
    
    public void setRoomId(final Long roomId) {
        this.roomId = roomId;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setCoverImge(final String coverImge) {
        this.coverImge = coverImge;
    }
    
    public void setShareImge(final String shareImge) {
        this.shareImge = shareImge;
    }
    
    public void setLiveStatus(final Integer liveStatus) {
        this.liveStatus = liveStatus;
    }
    
    public void setStartTime(final Long startTime) {
        this.startTime = startTime;
    }
    
    public void setEndTime(final Long endTime) {
        this.endTime = endTime;
    }
    
    public void setAnchorName(final String anchorName) {
        this.anchorName = anchorName;
    }
    
    public void setAnchorWechat(final String anchorWechat) {
        this.anchorWechat = anchorWechat;
    }
    
    public void setAnchorImge(final String anchorImge) {
        this.anchorImge = anchorImge;
    }
    
    public void setType(final Integer type) {
        this.type = type;
    }
    
    public void setScreenType(final Integer screenType) {
        this.screenType = screenType;
    }
    
    public void setCloseLike(final Integer closeLike) {
        this.closeLike = closeLike;
    }
    
    public void setCloseComment(final Integer closeComment) {
        this.closeComment = closeComment;
    }
    
    public void setCloseGoods(final Integer closeGoods) {
        this.closeGoods = closeGoods;
    }
    
    public void setCloseReplay(final Integer closeReplay) {
        this.closeReplay = closeReplay;
    }
    
    public void setCloseShare(final Integer closeShare) {
        this.closeShare = closeShare;
    }
    
    public void setCloseKf(final Integer closeKf) {
        this.closeKf = closeKf;
    }
    
    public void setProductId(final String productId) {
        this.productId = productId;
    }
    
    public void setProduct(final List<WechatLiveGoodsDto> product) {
        this.product = product;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof WechatLiveDto)) {
            return false;
        }
        final WechatLiveDto other = (WechatLiveDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$roomId = this.getRoomId();
        final Object other$roomId = other.getRoomId();
        Label_0065: {
            if (this$roomId == null) {
                if (other$roomId == null) {
                    break Label_0065;
                }
            }
            else if (this$roomId.equals(other$roomId)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0102: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0102;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$liveStatus = this.getLiveStatus();
        final Object other$liveStatus = other.getLiveStatus();
        Label_0139: {
            if (this$liveStatus == null) {
                if (other$liveStatus == null) {
                    break Label_0139;
                }
            }
            else if (this$liveStatus.equals(other$liveStatus)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$startTime = this.getStartTime();
        final Object other$startTime = other.getStartTime();
        Label_0176: {
            if (this$startTime == null) {
                if (other$startTime == null) {
                    break Label_0176;
                }
            }
            else if (this$startTime.equals(other$startTime)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$endTime = this.getEndTime();
        final Object other$endTime = other.getEndTime();
        Label_0213: {
            if (this$endTime == null) {
                if (other$endTime == null) {
                    break Label_0213;
                }
            }
            else if (this$endTime.equals(other$endTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        Label_0250: {
            if (this$type == null) {
                if (other$type == null) {
                    break Label_0250;
                }
            }
            else if (this$type.equals(other$type)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$screenType = this.getScreenType();
        final Object other$screenType = other.getScreenType();
        Label_0287: {
            if (this$screenType == null) {
                if (other$screenType == null) {
                    break Label_0287;
                }
            }
            else if (this$screenType.equals(other$screenType)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$closeLike = this.getCloseLike();
        final Object other$closeLike = other.getCloseLike();
        Label_0324: {
            if (this$closeLike == null) {
                if (other$closeLike == null) {
                    break Label_0324;
                }
            }
            else if (this$closeLike.equals(other$closeLike)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$closeComment = this.getCloseComment();
        final Object other$closeComment = other.getCloseComment();
        Label_0361: {
            if (this$closeComment == null) {
                if (other$closeComment == null) {
                    break Label_0361;
                }
            }
            else if (this$closeComment.equals(other$closeComment)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$closeGoods = this.getCloseGoods();
        final Object other$closeGoods = other.getCloseGoods();
        Label_0398: {
            if (this$closeGoods == null) {
                if (other$closeGoods == null) {
                    break Label_0398;
                }
            }
            else if (this$closeGoods.equals(other$closeGoods)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$closeReplay = this.getCloseReplay();
        final Object other$closeReplay = other.getCloseReplay();
        Label_0435: {
            if (this$closeReplay == null) {
                if (other$closeReplay == null) {
                    break Label_0435;
                }
            }
            else if (this$closeReplay.equals(other$closeReplay)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$closeShare = this.getCloseShare();
        final Object other$closeShare = other.getCloseShare();
        Label_0472: {
            if (this$closeShare == null) {
                if (other$closeShare == null) {
                    break Label_0472;
                }
            }
            else if (this$closeShare.equals(other$closeShare)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$closeKf = this.getCloseKf();
        final Object other$closeKf = other.getCloseKf();
        Label_0509: {
            if (this$closeKf == null) {
                if (other$closeKf == null) {
                    break Label_0509;
                }
            }
            else if (this$closeKf.equals(other$closeKf)) {
                break Label_0509;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0546: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0546;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0546;
            }
            return false;
        }
        final Object this$coverImge = this.getCoverImge();
        final Object other$coverImge = other.getCoverImge();
        Label_0583: {
            if (this$coverImge == null) {
                if (other$coverImge == null) {
                    break Label_0583;
                }
            }
            else if (this$coverImge.equals(other$coverImge)) {
                break Label_0583;
            }
            return false;
        }
        final Object this$shareImge = this.getShareImge();
        final Object other$shareImge = other.getShareImge();
        Label_0620: {
            if (this$shareImge == null) {
                if (other$shareImge == null) {
                    break Label_0620;
                }
            }
            else if (this$shareImge.equals(other$shareImge)) {
                break Label_0620;
            }
            return false;
        }
        final Object this$anchorName = this.getAnchorName();
        final Object other$anchorName = other.getAnchorName();
        Label_0657: {
            if (this$anchorName == null) {
                if (other$anchorName == null) {
                    break Label_0657;
                }
            }
            else if (this$anchorName.equals(other$anchorName)) {
                break Label_0657;
            }
            return false;
        }
        final Object this$anchorWechat = this.getAnchorWechat();
        final Object other$anchorWechat = other.getAnchorWechat();
        Label_0694: {
            if (this$anchorWechat == null) {
                if (other$anchorWechat == null) {
                    break Label_0694;
                }
            }
            else if (this$anchorWechat.equals(other$anchorWechat)) {
                break Label_0694;
            }
            return false;
        }
        final Object this$anchorImge = this.getAnchorImge();
        final Object other$anchorImge = other.getAnchorImge();
        Label_0731: {
            if (this$anchorImge == null) {
                if (other$anchorImge == null) {
                    break Label_0731;
                }
            }
            else if (this$anchorImge.equals(other$anchorImge)) {
                break Label_0731;
            }
            return false;
        }
        final Object this$productId = this.getProductId();
        final Object other$productId = other.getProductId();
        Label_0768: {
            if (this$productId == null) {
                if (other$productId == null) {
                    break Label_0768;
                }
            }
            else if (this$productId.equals(other$productId)) {
                break Label_0768;
            }
            return false;
        }
        final Object this$product = this.getProduct();
        final Object other$product = other.getProduct();
        if (this$product == null) {
            if (other$product == null) {
                return true;
            }
        }
        else if (this$product.equals(other$product)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof WechatLiveDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $roomId = this.getRoomId();
        result = result * 59 + (($roomId == null) ? 43 : $roomId.hashCode());
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $liveStatus = this.getLiveStatus();
        result = result * 59 + (($liveStatus == null) ? 43 : $liveStatus.hashCode());
        final Object $startTime = this.getStartTime();
        result = result * 59 + (($startTime == null) ? 43 : $startTime.hashCode());
        final Object $endTime = this.getEndTime();
        result = result * 59 + (($endTime == null) ? 43 : $endTime.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        final Object $screenType = this.getScreenType();
        result = result * 59 + (($screenType == null) ? 43 : $screenType.hashCode());
        final Object $closeLike = this.getCloseLike();
        result = result * 59 + (($closeLike == null) ? 43 : $closeLike.hashCode());
        final Object $closeComment = this.getCloseComment();
        result = result * 59 + (($closeComment == null) ? 43 : $closeComment.hashCode());
        final Object $closeGoods = this.getCloseGoods();
        result = result * 59 + (($closeGoods == null) ? 43 : $closeGoods.hashCode());
        final Object $closeReplay = this.getCloseReplay();
        result = result * 59 + (($closeReplay == null) ? 43 : $closeReplay.hashCode());
        final Object $closeShare = this.getCloseShare();
        result = result * 59 + (($closeShare == null) ? 43 : $closeShare.hashCode());
        final Object $closeKf = this.getCloseKf();
        result = result * 59 + (($closeKf == null) ? 43 : $closeKf.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $coverImge = this.getCoverImge();
        result = result * 59 + (($coverImge == null) ? 43 : $coverImge.hashCode());
        final Object $shareImge = this.getShareImge();
        result = result * 59 + (($shareImge == null) ? 43 : $shareImge.hashCode());
        final Object $anchorName = this.getAnchorName();
        result = result * 59 + (($anchorName == null) ? 43 : $anchorName.hashCode());
        final Object $anchorWechat = this.getAnchorWechat();
        result = result * 59 + (($anchorWechat == null) ? 43 : $anchorWechat.hashCode());
        final Object $anchorImge = this.getAnchorImge();
        result = result * 59 + (($anchorImge == null) ? 43 : $anchorImge.hashCode());
        final Object $productId = this.getProductId();
        result = result * 59 + (($productId == null) ? 43 : $productId.hashCode());
        final Object $product = this.getProduct();
        result = result * 59 + (($product == null) ? 43 : $product.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "WechatLiveDto(roomId=" + this.getRoomId() + ", id=" + this.getId() + ", name=" + this.getName() + ", coverImge=" + this.getCoverImge() + ", shareImge=" + this.getShareImge() + ", liveStatus=" + this.getLiveStatus() + ", startTime=" + this.getStartTime() + ", endTime=" + this.getEndTime() + ", anchorName=" + this.getAnchorName() + ", anchorWechat=" + this.getAnchorWechat() + ", anchorImge=" + this.getAnchorImge() + ", type=" + this.getType() + ", screenType=" + this.getScreenType() + ", closeLike=" + this.getCloseLike() + ", closeComment=" + this.getCloseComment() + ", closeGoods=" + this.getCloseGoods() + ", closeReplay=" + this.getCloseReplay() + ", closeShare=" + this.getCloseShare() + ", closeKf=" + this.getCloseKf() + ", productId=" + this.getProductId() + ", product=" + this.getProduct() + ")";
    }
}
